#!/usr/bin/env python3
import sys, os

i = 0

while(i < 2):
	print(f"i = {i}")
	i += 1

os.execv(sys.executable, ['python3'] + sys.argv)

'''
tony  ~  Desktop  python3 daemon.py 
i = 0
i = 1
i = 0
i = 1
i = 0
i = 1
i = 0
i = 1
i = 0
i = 1
i = 0
i = 1
i = 0
i = 1
i = 0
i = 1
...
'''